-
Home
-
Perfect Brands for WooCommerce
-
3.4.0
-
Code
-
Classes
- Rest_Api
Total Complexity |
18 |
Dependencies |
3 |
Dependents |
1 |
Total lines |
299 |
Lines of code |
195 |
Logical lines of code |
43 |
Comment lines |
64 |
Methods |
12 |
Properties |
3 |
Methods 12
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
register_endpoints() |
S |
39 |
2 |
84 |
brand_query_args() |
S |
60 |
3 |
14 |
prepare_item_for_response() |
S |
54 |
2 |
19 |
get_callback() |
S |
62 |
2 |
12 |
modify_collection_params() |
S |
56 |
1 |
19 |
remove_brands() |
S |
70 |
2 |
6 |
register_fields() |
S |
64 |
1 |
11 |
__construct() |
S |
69 |
1 |
6 |
add_additional_fields_to_object() |
S |
67 |
1 |
7 |
get_schema() |
S |
64 |
1 |
10 |
update_callback() |
S |
76 |
1 |
4 |
add_brands() |
S |
79 |
1 |
3 |